package io.renren.modules.medical.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.medical.entity.IllSubEntity;
import io.renren.modules.medical.entity.PatientBasicInformationEntity;
import io.renren.modules.medical.vo.medicalVo.InfoDeleteVo;
import io.renren.modules.medical.vo.medicalVo.PatientBasicDetailVo;
import io.renren.modules.medical.vo.medicalVo.PatientNameAndIdVo;
import java.util.List;
import java.util.Map;

/**
 * @author luosheng
 * @date 2023-05-04 16:23:35
 */
public interface PatientBasicInformationService extends IService<PatientBasicInformationEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PatientBasicDetailVo getDetail(Long id);

    Long saveBasicInfo(PatientBasicInformationEntity patientBasicInfo);

    PatientBasicDetailVo getAllInformation(Long id);

    List<InfoDeleteVo> getDeleteList(Long basicId);

    void removeInfo(InfoDeleteVo asList);

    void deleteBasic(Long basicId);

    PatientNameAndIdVo getCommonInfo();

    List<IllSubEntity> getSubsByBasicId(Long patientBasicInfoId);

    List<PatientNameAndIdVo> patients(Long subId);
}

